package com.shjn.squirrel.bean.storageBean;

/**
 * 回收机工作参数
 */
public class WorkSetting {

    private String serviceTel;//客服电话
    private int openDutyCycle;//投口电机开门占空比
    private int openCurrentLimit;//投口电机开门电流限值
    private int closeDutyCycle;//投口电机关门占空比
    private int closeCurrentLimit;//投口电机关门电流限值
    private int holdTime;//投口开门保持时间
    private int handshakeCycle;//握手周期
    private int detectionCycle;//检测周期
    private int rightWeightClear;//所有右侧称重板清零
    private int rightWeightAdjust;//所有右侧称重板校准
    private int leftWeightClear;//所有左侧称重板清零
    private int leftWeightAdjust;//所有左侧称重板校准

    public WorkSetting() {
    }

    public WorkSetting(String serviceTel, int openDutyCycle, int openCurrentLimit, int closeDutyCycle, int closeCurrentLimit, int holdTime, int handshakeCycle, int detectionCycle, int rightWeightClear, int rightWeightAdjust, int leftWeightClear, int leftWeightAdjust) {
        this.serviceTel = serviceTel;
        this.openDutyCycle = openDutyCycle;
        this.openCurrentLimit = openCurrentLimit;
        this.closeDutyCycle = closeDutyCycle;
        this.closeCurrentLimit = closeCurrentLimit;
        this.holdTime = holdTime;
        this.handshakeCycle = handshakeCycle;
        this.detectionCycle = detectionCycle;
        this.rightWeightClear = rightWeightClear;
        this.rightWeightAdjust = rightWeightAdjust;
        this.leftWeightClear = leftWeightClear;
        this.leftWeightAdjust = leftWeightAdjust;
    }

    public String getServiceTel() {
        return serviceTel;
    }

    public void setServiceTel(String serviceTel) {
        this.serviceTel = serviceTel;
    }

    public int getOpenDutyCycle() {
        return openDutyCycle;
    }

    public void setOpenDutyCycle(int openDutyCycle) {
        this.openDutyCycle = openDutyCycle;
    }

    public int getOpenCurrentLimit() {
        return openCurrentLimit;
    }

    public void setOpenCurrentLimit(int openCurrentLimit) {
        this.openCurrentLimit = openCurrentLimit;
    }

    public int getCloseDutyCycle() {
        return closeDutyCycle;
    }

    public void setCloseDutyCycle(int closeDutyCycle) {
        this.closeDutyCycle = closeDutyCycle;
    }

    public int getCloseCurrentLimit() {
        return closeCurrentLimit;
    }

    public void setCloseCurrentLimit(int closeCurrentLimit) {
        this.closeCurrentLimit = closeCurrentLimit;
    }

    public int getHoldTime() {
        return holdTime;
    }

    public void setHoldTime(int holdTime) {
        this.holdTime = holdTime;
    }

    public int getHandshakeCycle() {
        return handshakeCycle;
    }

    public void setHandshakeCycle(int handshakeCycle) {
        this.handshakeCycle = handshakeCycle;
    }

    public int getDetectionCycle() {
        return detectionCycle;
    }

    public void setDetectionCycle(int detectionCycle) {
        this.detectionCycle = detectionCycle;
    }

    public int getRightWeightClear() {
        return rightWeightClear;
    }

    public void setRightWeightClear(int rightWeightClear) {
        this.rightWeightClear = rightWeightClear;
    }

    public int getRightWeightAdjust() {
        return rightWeightAdjust;
    }

    public void setRightWeightAdjust(int rightWeightAdjust) {
        this.rightWeightAdjust = rightWeightAdjust;
    }

    public int getLeftWeightClear() {
        return leftWeightClear;
    }

    public void setLeftWeightClear(int leftWeightClear) {
        this.leftWeightClear = leftWeightClear;
    }

    public int getLeftWeightAdjust() {
        return leftWeightAdjust;
    }

    public void setLeftWeightAdjust(int leftWeightAdjust) {
        this.leftWeightAdjust = leftWeightAdjust;
    }

    @Override
    public String toString() {
        return "WorkSetting{" +
                "serviceTel='" + serviceTel + '\'' +
                ", openDutyCycle=" + openDutyCycle +
                ", openCurrentLimit=" + openCurrentLimit +
                ", closeDutyCycle=" + closeDutyCycle +
                ", closeCurrentLimit=" + closeCurrentLimit +
                ", holdTime=" + holdTime +
                ", handshakeCycle=" + handshakeCycle +
                ", detectionCycle=" + detectionCycle +
                ", rightWeightClear=" + rightWeightClear +
                ", rightWeightAdjust=" + rightWeightAdjust +
                ", leftWeightClear=" + leftWeightClear +
                ", leftWeightAdjust=" + leftWeightAdjust +
                '}';
    }
}
